/*
 * @Author: ljk
 * @Date: 2023-05-16 23:05:40
 * @LastEditors: ljk
 * @LastEditTime: 2023-05-16 23:08:27
 * @Description: 额外进程
 */
#include <iostream>
#include <unistd.h>

int main()
{
    while (true)
    {
        std::cout << "我是一个进程, 我正在运行..."
                  << "我的pid: " << getpid() << std::endl;
        sleep(1);
    }
    return 0;
}